﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace TestWinFormMap
{
    public class CommFunc
    {

        public static string WebBrowserUrlEncode(string str)
        {
            var s = HttpUtility.UrlEncode(str);
#if NET20
         //   s=HttpUtility.UrlEncode(s);
#endif
            return s;
        }

    }
}
